package city.spring.modules.work.vo;

import city.spring.modules.system.vo.SimpleUserVO;
import city.spring.modules.work.entity.WorkReplaceApplyEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 替班申请视图展示对象
 *
 * @author HouKunLin
 * @date 2020/6/29 0029 14:37
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WorkReplaceApplyVO extends WorkReplaceApplyEntity {

    /**
     * 该用户（一般情况下与source的用户相同）
     */
    private SimpleUserVO user;

    /**
     * 申请的上班记录
     */
    private WorkReplaceApplyScheduleItemVO source;

    /**
     * 被替换的上班记录
     */
    private WorkReplaceApplyScheduleItemVO target;
}
